package com.gym.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 收款表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cashier implements Serializable {
    private int cashierId;//收款编号
    private int goodsId;//商品编号
    private float price;//价格
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date makeTime;//收款时间
    private int quantity;//数量
    private float income;//收入 收款的钱
    private String username;
    private int userId;
    //提交
    private String goodsname;
    private List<Goods> goods;
}
